from django.urls import re_path, path
from gathering import views

urlpatterns = [

    re_path(r'^gatherings/$', views.GatheringsViewSet.as_view({'get': 'list'})),
    re_path(r'^gatherings/(?P<pk>\d+)/$', views.GatheringsViewSet.as_view({'get': 'retrieve'})),
    re_path(r'^gatherings/(?P<pk>\d+)/join/$', views.GatherJoinView.as_view()),
]